/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.monitor.CheckCycleStart.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.modules.sys.entity.User;

import java.util.Date;


/**
 * 设备点检标准Entity
 * @author 王志鹏
 * @version 2020-09-25
 */
public class CheckMainentity extends DataEntity<CheckMainentity> {

	private static final long serialVersionUID = 1L;
	private String basicdataCheckNumber;		// 序号
	private String basicdataCheckFacility;		// 设备
	private String basicdataCheckPart;		// 部位
	private String basicdataCheckComponent;		// 零件
	private String basicdataCheckProject;		// 项目
	private String basicdataCheckContent;		// 内容
	private String basicdataCheckStarus;		// 设备状态
	private String basicdataCheckJob;		// 点检分工
	private Date basicdataCheckTime;		// 点检时间
	private String basicdataCheckCheck;		// 点检
	private String basicdataCheckCheckUnit;		//点检单位
	private User basicdataCheckCheckPeople;		// 点检责任人
	private Date basicdataCheckFixTime;		// 检修时间
	private String basicdataCheckFix;		// 检修
	private String BasicdataCheckFixUnit;		//检修单位
	private User basicdataCheckFixPeople;		// 检修责任人
	private Date basicdataCheckPostTime;		// 岗位时间
	private String basicdataCheckPost;		// 岗位
	private String basicdataCheckPostUnit;		// 岗位单位
	private User basicdataCheckPostPeople;		// 岗位责任人
	private String basicdataCheckMethod;		// 点检方法
	private String basicdataCheckMethodreturn;		// 点检方法返回
	private String BasicdataCheckJobreturn;		// 点检方法返回
	private String unitName;

	public String getUnitName() {
		return unitName;
	}

	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}

	public String getBasicdataCheckFixUnit() {
		return BasicdataCheckFixUnit;
	}

	public void setBasicdataCheckFixUnit(String basicdataCheckFixUnit) {
		BasicdataCheckFixUnit = basicdataCheckFixUnit;
	}

	public String getBasicdataCheckCheckUnit() {
		return basicdataCheckCheckUnit;
	}

	public void setBasicdataCheckCheckUnit(String basicdataCheckCheckUnit) {
		this.basicdataCheckCheckUnit = basicdataCheckCheckUnit;
	}


	public String getBasicdataCheckPostUnit() {
		return basicdataCheckPostUnit;
	}

	public void setBasicdataCheckPostUnit(String basicdataCheckPostUnit) {
		this.basicdataCheckPostUnit = basicdataCheckPostUnit;
	}

	public String getBasicdataCheckMethodreturn() {
		return basicdataCheckMethodreturn;
	}

	public void setBasicdataCheckMethodreturn(String basicdataCheckMethodreturn) {
		this.basicdataCheckMethodreturn = basicdataCheckMethodreturn;
	}

	public String getBasicdataCheckJobreturn() {
		return BasicdataCheckJobreturn;
	}

	public void setBasicdataCheckJobreturn(String basicdataCheckJobreturn) {
		BasicdataCheckJobreturn = basicdataCheckJobreturn;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getBasicdataCheckPostTime() {
		return basicdataCheckPostTime;
	}

	public void setBasicdataCheckPostTime(Date basicdataCheckPostTime) {
		this.basicdataCheckPostTime = basicdataCheckPostTime;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getBasicdataCheckFixTime() {
		return basicdataCheckFixTime;
	}

	public void setBasicdataCheckFixTime(Date basicdataCheckFixTime) {
		this.basicdataCheckFixTime = basicdataCheckFixTime;
	}

	public CheckMainentity() {
		super();
	}

	public CheckMainentity(String id){
		super(id);
	}

	@ExcelField(title="序号", align=2, sort=1)
	public String getBasicdataCheckNumber() {
		return basicdataCheckNumber;
	}

	public void setBasicdataCheckNumber(String basicdataCheckNumber) {
		this.basicdataCheckNumber = basicdataCheckNumber;
	}
	
	@ExcelField(title="设备", align=2, sort=2)
	public String getBasicdataCheckFacility() {
		return basicdataCheckFacility;
	}

	public void setBasicdataCheckFacility(String basicdataCheckFacility) {
		this.basicdataCheckFacility = basicdataCheckFacility;
	}
	
	@ExcelField(title="部位", align=2, sort=3)
	public String getBasicdataCheckPart() {
		return basicdataCheckPart;
	}

	public void setBasicdataCheckPart(String basicdataCheckPart) {
		this.basicdataCheckPart = basicdataCheckPart;
	}
	
	@ExcelField(title="零件", align=2, sort=4)
	public String getBasicdataCheckComponent() {
		return basicdataCheckComponent;
	}

	public void setBasicdataCheckComponent(String basicdataCheckComponent) {
		this.basicdataCheckComponent = basicdataCheckComponent;
	}
	
	@ExcelField(title="项目", align=2, sort=5)
	public String getBasicdataCheckProject() {
		return basicdataCheckProject;
	}

	public void setBasicdataCheckProject(String basicdataCheckProject) {
		this.basicdataCheckProject = basicdataCheckProject;
	}
	
	@ExcelField(title="内容", align=2, sort=6)
	public String getBasicdataCheckContent() {
		return basicdataCheckContent;
	}

	public void setBasicdataCheckContent(String basicdataCheckContent) {
		this.basicdataCheckContent = basicdataCheckContent;
	}
	
	@ExcelField(title="设备状态", dictType="device_state", align=2, sort=7)
	public String getBasicdataCheckStarus() {
		return basicdataCheckStarus;
	}

	public void setBasicdataCheckStarus(String basicdataCheckStarus) {
		this.basicdataCheckStarus = basicdataCheckStarus;
	}
	

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="点检时间", align=2, sort=9)
	public Date getBasicdataCheckTime() {
		return basicdataCheckTime;
	}

	public void setBasicdataCheckTime(Date basicdataCheckTime) {
		this.basicdataCheckTime = basicdataCheckTime;
	}
	
	@ExcelField(title="点检", align=2, sort=10)
	public String getBasicdataCheckCheck() {
		return basicdataCheckCheck;
	}

	public void setBasicdataCheckCheck(String basicdataCheckCheck) {
		this.basicdataCheckCheck = basicdataCheckCheck;
	}
	
	@ExcelField(title="点检责任人", fieldType=User.class, value="basicdataCheckCheckPeople.name", align=2, sort=11)
	public User getBasicdataCheckCheckPeople() {
		return basicdataCheckCheckPeople;
	}

	public void setBasicdataCheckCheckPeople(User basicdataCheckCheckPeople) {
		this.basicdataCheckCheckPeople = basicdataCheckCheckPeople;
	}
	
	@ExcelField(title="检修", dictType="basticdata_check_period", align=2, sort=12)
	public String getBasicdataCheckFix() {
		return basicdataCheckFix;
	}

	public void setBasicdataCheckFix(String basicdataCheckFix) {
		this.basicdataCheckFix = basicdataCheckFix;
	}
	
	@ExcelField(title="检修责任人", fieldType=User.class, value="basicdataCheckFixPeople.name", align=2, sort=13)
	public User getBasicdataCheckFixPeople() {
		return basicdataCheckFixPeople;
	}

	public void setBasicdataCheckFixPeople(User basicdataCheckFixPeople) {
		this.basicdataCheckFixPeople = basicdataCheckFixPeople;
	}
	
	@ExcelField(title="岗位", dictType="basticdata_check_period", align=2, sort=14)
	public String getBasicdataCheckPost() {
		return basicdataCheckPost;
	}

	public void setBasicdataCheckPost(String basicdataCheckPost) {
		this.basicdataCheckPost = basicdataCheckPost;
	}
	
	@ExcelField(title="岗位责任人", fieldType=User.class, value="basicdataCheckPostPeople.name", align=2, sort=15)
	public User getBasicdataCheckPostPeople() {
		return basicdataCheckPostPeople;
	}

	public void setBasicdataCheckPostPeople(User basicdataCheckPostPeople) {
		this.basicdataCheckPostPeople = basicdataCheckPostPeople;
	}

	@ExcelField(title="点检分工", dictType="check_job", align=2, sort=8)
	public String getBasicdataCheckJob() {
		return basicdataCheckJob;
	}

	public void setBasicdataCheckJob(String basicdataCheckJob) {
		this.basicdataCheckJob = basicdataCheckJob;
	}
	@ExcelField(title="点检方法", dictType="check_method", align=2, sort=16)
	public String getBasicdataCheckMethod() {
		return basicdataCheckMethod;
	}

	public void setBasicdataCheckMethod(String basicdataCheckMethod) {
		this.basicdataCheckMethod = basicdataCheckMethod;
	}

}